import Components from 'unplugin-vue-components/vite';
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers';

export const ComponentsPlugin = () => {
	return Components({
		resolvers: [NaiveUiResolver()],
		dts: 'types/plugin/components.d.ts',
	});
};
